import React from 'react';
import {Link} from 'dva/router';
import {Result, WingBlank, WhiteSpace, InputItem, Flex, Icon} from 'antd-mobile';
import {Layout, Line, Panel, TimeLine} from '../../components';
import './index.less';

const navigation = {
  title: "申请结果",
  left: true
};

class BankResult extends React.Component {

  constructor(props) {
    super(props)
  }

  render() {
    const myImg = src => <img src={src} className="spe am-icon am-icon-md" alt=""/>;
    return (
      <Layout history={this.props.history} navigation={navigation}>
        <div className={'page-loanResult'}>
          <Result
            img={myImg(require("./imgs/success.png"))}
            title="申请成功"
            message={<div>预计1小时内到账，请关注您的到账银行卡</div>}
          />
          <WhiteSpace/>
          <Result
            className={'r-fail'}
            img={myImg(require("./imgs/fail.png"))}
            title="申请未通过"
            message={<div>请检查网络是否畅通后重新申请</div>}
          />
        </div>
      </Layout>
    );
  }
}

BankResult.propTypes = {};

export default BankResult;
